package com.liang.pojo;

public class OrderItem {
	private int iid;
	public OrderItem() {
		super();
	}
	public OrderItem(int iid, int count, double subtotal, int oid, int sid, int state) {
		super();
		this.iid = iid;
		this.count = count;
		this.subtotal = subtotal;
		this.oid = oid;
		this.sid = sid;
		this.state = state;
	}
	@Override
	public String toString() {
		return "OrderItem [iid=" + iid + ", count=" + count + ", subtotal=" + subtotal + ", oid=" + oid + ", sid=" + sid
				+ ", state=" + state + "]";
	}
	public int getIid() {
		return iid;
	}
	public void setIid(int iid) {
		this.iid = iid;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public double getSubtotal() {
		return subtotal;
	}
	public void setSubtotal(double subtotal) {
		this.subtotal = subtotal;
	}
	public int getOid() {
		return oid;
	}
	public void setOid(int oid) {
		this.oid = oid;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	private int count;
	private double subtotal;
	private int oid;
	private int sid;
	private int state;
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
}
